package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.BQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.vo.BQuestionVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_question(题库表)】的数据库操作Mapper
* @createDate 2024-12-28 00:45:04
* @Entity com.ruoyi.system.domain.BQuestion
*/
public interface BQuestionMapper extends BaseMapper<BQuestion> {

    /**
     * 查询题库列表
     * @param question
     * @return
     */
    List<BQuestionVo> selectQuestionList(@Param("query") BQuestion question);

    /**
     * 根据ID查询题库
     * @param id
     * @return
     */
    BQuestionVo selectQuestionById(@Param("id") Long id);

    /**
     * 删除题库
     * @param ids
     * @return
     */
    int deleteQuestionByIds(Long[] ids);
}




